<layout name="layout" />

<style>
    #ir_tips{
        text-align: center;
        padding: 20px 0 40px;
        color: #9B999C;
        font-size: 20px;
    }
    
    [name=ir_content]{
        resize:none;
    }
</style>

<div class='row'>
    <div id='ir_tips'>说出你的需求,让朋友们给你解决^-^</div>
</div>

<div class='row'>
    <div class='col-xs-12 col-md-6'>
        <form>
            <div class='form-group input-group'>
                <span class="input-group-addon">&nbsp;标题&nbsp;</span>
                <input class='form-control' name="ir_title" placeholder='需求标题 , 保密信息请填写在详细描述中'/>
            </div>
            <div class='form-group input-group'>
                <span class="input-group-addon">&nbsp;详细&nbsp;</span>
                <textarea class="form-control" name="ir_content" rows="7" resize="none" placeholder='需求详细描述'></textarea>
            </div>
            <div class="form-group input-group">
                <span class="input-group-addon">赏金$</span>
                <input type="text" class="form-control" name="ir_reward" placeholder='赏金'/>
                <span class="input-group-addon">元</span>
            </div>
        </form>
        <br/>
        <button name="ir_submit" class="btn btn-primary btn-block " >发布</button>
    </div>

    <div class='col-xs-12 col-md-6'>
        <include file="App/public/View/Default/public/AD.html" />
    </div>
</div>

<script>
    $('[name=ir_submit]').click(ir_require);   
</script>
